/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.miracleteam.miracle.services.servicesImpl;

import com.miracleteam.miracle.dao.LayoutGiaoDienDAO;
import com.miracleteam.miracle.dao.daoImpl.LayoutGiaoDienDAOImpl;
import com.miracleteam.miracle.entities.Layoutgiaodiengianhang;
import com.miracleteam.miracle.services.LayoutGiaoDienService;
import org.apache.log4j.Logger;

/**
 *
 * @author DangKhoa
 */
public class LayoutGiaoDienServiceImpl implements LayoutGiaoDienService{
   
    public Layoutgiaodiengianhang LayLayoutGiaoDien(String maGianHang) {
        LayoutGiaoDienDAO layoutDao=new LayoutGiaoDienDAOImpl();
        return layoutDao.LayLayoutGiaoDien(maGianHang);
    }
    public boolean  CapNhatGiaoDien(Layoutgiaodiengianhang gui){
        LayoutGiaoDienDAO layoutDao=new LayoutGiaoDienDAOImpl();
        return layoutDao.CapNhatGiaoDien(gui);
    }
    
}
